package com.hilon.segment.jpa.entity;

import com.hilon.base.entity.BaseSimplest;
import lombok.*;


import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 通过@Getter, @Setter, @ToString, @RequiredArgsConstructor
 * 生成get, set, toString方法以及构造函数.
 * jpa直接使用@Data会存在equals和hashcode问题.
 */

@Data
@Entity
@Table(name = "material_category")
public class MaterialCategory extends BaseSimplest {

}